package com.zhehekeji.opsys.api.webservice.server;

import javax.jws.WebService;

import org.springframework.beans.factory.annotation.Autowired;

import com.zhehekeji.opsys.api.resp.WhitelistVerifyResp;
import com.zhehekeji.opsys.api.service.manager.WhitelistManagerService;

/**
 * @ClassName WhitelistManagerWS
 * @Description TODO
 * @author chenweiliu chenwei.liu@163.com
 * @date 2017-10-16   上午10:21:07
 */
@WebService(endpointInterface="com.zhehekeji.opsys.api.webservice.server.WhitelistManager",
name="whitelistManager",portName="whitelistManagerPort",serviceName="whitelistManagerWS")
public class WhitelistManagerWS implements WhitelistManager {

	@Autowired
	private WhitelistManagerService whitelistManagerService;
	
	@Override
	public WhitelistVerifyResp verify(String whitelistCode, String userID) {
		WhitelistVerifyResp resp = whitelistManagerService.verify(whitelistCode, userID);
		return resp;
	}

}

